package org.yly.game.rpggame.domain.model;

/**
 * 游戏属性
 * 
 * @author makefu
 * 
 */
public enum PropertyName {
	Red, // 生命 
	Blue, // 精神 
	Harm, // 伤害 
	Defense, // 防御
	Agility, // 敏捷
	Accurate, // 准确
	Dodge, // 闪避
	ExpValue, // 经验值
	SkillPoint, //技能点数
	LossValue; // 损耗100则报废

	public boolean isRed(){
		return Red == this;
	}
	public boolean isBlue(){
		return Blue == this;
	}
	public boolean isHarm(){
		return Harm == this;
	}
	public boolean isDefense(){
		return Defense == this;
	}
	public boolean isAgility(){
		return Agility == this;
	}
	public boolean isAccurate(){
		return Accurate == this;
	}
	public boolean isDodge(){
		return Dodge == this;
	}
	public boolean isExpValue(){
		return ExpValue == this;
	}
	public boolean isSkillPoint(){
		return SkillPoint == this;
	}
	public boolean isLossValue(){
		return LossValue == this;
	}
}
